﻿<%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage<DTO.Models.CaptchaData>" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>CIT</title>

    <link href="<%= Url.Content("~/Content/style.css")%>" rel="stylesheet" type="text/css" />
    <link href="<%= Url.Content("~/Content/jquery-ui.css")%>" rel="stylesheet" type="text/css" />
    <link href="<%= Url.Content("~/Content/ie_style.css")%>" rel="stylesheet" type="text/css" />

    <!-- dopdown menu -->
    <link href="<%= Url.Content("~/Content/dropdown.vertical.css")%>" rel="stylesheet" type="text/css" />
    <link href="<%= Url.Content("~/Content/default.css")%>" rel="stylesheet" type="text/css" />
    <!-- end dropdown menu -->

    <script type='text/javascript' language='javascript' src='<%= Url.Content("~/js/jquery.js") %>'></script>
    <script type='text/javascript' language='javascript' src='<%= Url.Content("~/js/maxheight.js") %>'></script>
    <script type='text/javascript' language='javascript' src='<%= Url.Content("~/js/common.js") %>'></script>
    <script type='text/javascript' language='javascript' src='<%= Url.Content("~/js/jquery.dropdown.js") %>'></script>
    <script type='text/javascript' language='javascript' src='<%= Url.Content("~/js/ie_png.js") %>'></script>

</head>

<script type="text/javascript">
    ie_png.fix('.png');

    $(document).ready(function () {
        //just sets the default button to be sumbit
        $('form').keypress(function (e) {
            if ((e.which && e.which == 13) || (e.keyCode && e.keyCode == 13)) {
                $('input[type=submit]').click();
                return false;
            } else {

                return true;
            }
        });


    });

</script>

<body>
    
    <div id="dung-main">
        <div id="dung-header">
            <div id="dung-top">
              <div class="dung-left" id="dung-logo"> <a href="#"><img class="png" src="<%= Url.Content("~/image/logo.png") %>" alt="" /></a> </div>
              <div class="dung-left" id="dung-site-title">
                <h1>HỆ THỐNG QUẢN LÝ NỘI DUNG</h1>
              </div>
	          <div class="dung-right"> <a href="#"><img class="png" src="<%= Url.Content("~/image/logo.png") %>" alt="" /></a> </div>
	          <div class="dung-right">
	  	        <br/>
	  	        <p><b></b></p>
		        <p>Ngôn ngữ: <select><option>VietNamese</option></select></p>
	          </div>
              <div class="clearer">&nbsp;</div>
            </div>
          </div>
        <div id="dung-content">
            <div id="dung-login">
            <div class="dung-section dung-border-round">
                <div class=" dung-section-title">Đăng nhập hệ thống</div>
                <div class=" dung-section-content">
                <div class="dung-col2 dung-left">
				   
                    <% using(Html.BeginForm()) { %>
					<p>
						<b>Tên tài khoản</b>
						<br/>
						<input id="username" name="username" type="text" class="dung-textbox" />
					</p>
					<p>
						<b>Mật khẩu</b>
						<input id="password" name="password" type="password" class="dung-textbox" />
					</p>
					<p>
						<b>Mã an toàn</b>
                        <%=Html.TextBoxFor(cd => cd.Attempt, new {@class="dung-textbox" })%><%=Html.ValidationMessageFor(cd => cd.Attempt)%>
                        <input type="image" id="image" src=" <%=Url.Action("getImageCaptcha")%>"  alt="click to refresh"  />
                        <label for="captcha">(click vào hình refesh mã):</label>
					</p>
                    <p>
                        <input type="checkbox" name="remember" /> <label>Ghi nhớ</label>
                    </p>
					<p>
						<input id="login" type="submit" name="submit" class="dung-button" value="Đăng nhập" />
					</p>
				    <% } %>
			    </div>
			    <div class="dung-col2 dung-right">
				    <img src="<%= Url.Content("~/image/members-login.jpg") %>" alt="login" width="180px" height="200px" />
			    </div>
			    <div class="clearer">&nbsp;</div>
          </div>
        </div>
      </div>
      
            <div class="clearer">&nbsp;</div>
        </div>
        <div id="dung-footer">
            <div class="dung-text-center">
              <p>&copy; 2011 CIT. All rights Reserved</p>
              <p class="dung-other"> <a target="_blank" href="http://dung-solution.com">Website Design</a> by <a target="_blank" href="http://dung-solution.com">www.cit.com.vn</a></p>
              <div class="clearer">&nbsp;</div>
            </div>
        </div>
    </div>
        
    
</body>
</html>
